package cn.iocoder.yudao.module.member.controller.app.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "用户 App - 订单vo")
@Data
public class AppOrderVo {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "555")
    private Long userId;
    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "OD123")
    private String orderCode;

    /**
     * 0:积分订单 1:设备订单
     */
    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String orderType;

    /**
     * 积分订单为钱 设备订单可以为积分
     */
    @Schema(description = "支付方式", requiredMode = Schema.RequiredMode.REQUIRED)
    private String paymentType;

    /**
     * 购买数量
     */
    @Schema(description = "购买数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "OD123")
    private BigDecimal number;

    /**
     * 购买数量
     */
    @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "OD123")
    private BigDecimal payPrice;

    /**
     * 订单状态 1:已完成 2:未完成
     */
    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "OD123")
    private String status;


    /**
     * 购买数量
     */
    @Schema(description = "成本价格", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "OD123")
    private BigDecimal costPrice;


//    /**
//     * 支付状态 PayStatusEnum
//     */
//    @Schema(description = "支付状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "OD123")
//    private String payStatus;
}
